@SpringBootTest
class ConsumerServiceImplTest {

    @Autowired
    private ConsumerService consumerService;
    
     /**
     * 用户更新个人资料
     */
    @Test
    void consumerServiceUpdateUser(){
        //组建要注册的用户
        ConsumerRequest updateRequest = new ConsumerRequest();
        updateRequest.setId(75);
        updateRequest.setUsername("zhaoliu");
        updateRequest.setSex((byte)1);
        updateRequest.setPhoneNum("17765439999");
        R r = consumerService.updateUserMsg(updateRequest);
        System.out.println(r.getSuccess());
    }
}
